package it.univaq.mwt.tp;

import it.univaq.mwt.tp.Person;

import java.io.Serializable;

import javax.persistence.*;

/**
 * Entity implementation class for Entity: Customer
 * 
 */
@Entity
public class Customer extends Person implements Serializable {

	private int custID;
	private int credit;
	private static final long serialVersionUID = 1L;

	public Customer() {
		super();
	}

	public Customer(int custID, String ssn, String name) {
		super(ssn, name);
		this.custID = custID;
	}

	public int getCustID() {
		return this.custID;
	}

	public void setCustID(int custID) {
		this.custID = custID;
	}

	public int getCredit() {
		return this.credit;
	}

	public void setCredit(int credit) {
		this.credit = credit;
	}

}
